package com.woniu.sale.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * bs_product
 * @author 
 */
public class BsProduct implements Serializable {
    /**
     * ��Ʒ����
     */
    private String prodno;

    /**
     * ��ƷС�����
     */
    private String prodkndno;

    /**
     * ��Ʒ�������
     */
    private String prodrootno;

    /**
     * ��Ӧ��ID
     */
    private String providerid;

    /**
     * ��Ʒ�������
     */
    private String prodclassno;

    /**
     * ��Ʒ����
     */
    private String prodcode;

    /**
     * ������
     */
    private String barcode;

    /**
     * ��Ʒ����
     */
    private String prodname;

    /**
     * ��Ʒ���
     */
    private String prodshort;

    /**
     * ��ƷӢ����
     */
    private String prodeng;

    /**
     * ������
     */
    private String sizecode;

    /**
     * ��ɫ����
     */
    private String colorcode;

    /**
     * ������
     */
    private BigDecimal inprice;

    /**
     * ���ۼ�
     */
    private BigDecimal saleprice;

    /**
     * �ɱ��۸�
     */
    private BigDecimal cogprice;

    /**
     * �ܲ�ָʾ����
     */
    private BigDecimal cyhinprice;

    /**
     * �ܲ�ָʾ�ۼ�
     */
    private BigDecimal cyhsaleprice;

    /**
     * �ڶ���Ӧ��
     */
    private String providersecond;

    /**
     * ����������
     */
    private Integer lowstore;

    /**
     * ��׼�ڿ�����
     */
    private Integer highstore;

    /**
     * �Ƿ����
     */
    private String isservice;

    /**
     * �Ƿ������Ʒ
     */
    private String isbind;

    /**
     * �Ƿ�������Ʒ
     */
    private String isspecial;

    /**
     * ��װ������λ����
     */
    private String bigunitcode;

    /**
     * ����������λ����
     */
    private String basicunitcode;

    /**
     * ��С������
     */
    private Integer innum;

    /**
     * ����
     */
    private String prodfrom;

    /**
     * ������
     */
    private String factory;

    /**
     * ��Ʒ�ȼ�����
     */
    private String rankcode;

    /**
     * �����̶���Ʒ�ı��
     */
    private String supplyprodno;

    /**
     * �ܲ�����Ʒ�ı���
     */
    private String cyhno;

    /**
     * �Ƿ������Ʒ
     */
    private String selfprodflg;

    /**
     * �����Ƿ���ֹ
     */
    private String stockendflg;

    /**
     * �Ƿ����Ʒ��ʶ
     */
    private String subsellflg;

    /**
     * ��ע
     */
    private String remark;

    /**
     * ������
     */
    private String updateman;

    /**
     * ��������
     */
    private Date updatedate;

    /**
     * ״̬��1����Ч��0����Ч��
     */
    private String status;

    private static final long serialVersionUID = 1L;

    public String getProdno() {
        return prodno;
    }

    public void setProdno(String prodno) {
        this.prodno = prodno;
    }

    public String getProdkndno() {
        return prodkndno;
    }

    public void setProdkndno(String prodkndno) {
        this.prodkndno = prodkndno;
    }

    public String getProdrootno() {
        return prodrootno;
    }

    public void setProdrootno(String prodrootno) {
        this.prodrootno = prodrootno;
    }

    public String getProviderid() {
        return providerid;
    }

    public void setProviderid(String providerid) {
        this.providerid = providerid;
    }

    public String getProdclassno() {
        return prodclassno;
    }

    public void setProdclassno(String prodclassno) {
        this.prodclassno = prodclassno;
    }

    public String getProdcode() {
        return prodcode;
    }

    public void setProdcode(String prodcode) {
        this.prodcode = prodcode;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }

    public String getProdname() {
        return prodname;
    }

    public void setProdname(String prodname) {
        this.prodname = prodname;
    }

    public String getProdshort() {
        return prodshort;
    }

    public void setProdshort(String prodshort) {
        this.prodshort = prodshort;
    }

    public String getProdeng() {
        return prodeng;
    }

    public void setProdeng(String prodeng) {
        this.prodeng = prodeng;
    }

    public String getSizecode() {
        return sizecode;
    }

    public void setSizecode(String sizecode) {
        this.sizecode = sizecode;
    }

    public String getColorcode() {
        return colorcode;
    }

    public void setColorcode(String colorcode) {
        this.colorcode = colorcode;
    }

    public BigDecimal getInprice() {
        return inprice;
    }

    public void setInprice(BigDecimal inprice) {
        this.inprice = inprice;
    }

    public BigDecimal getSaleprice() {
        return saleprice;
    }

    public void setSaleprice(BigDecimal saleprice) {
        this.saleprice = saleprice;
    }

    public BigDecimal getCogprice() {
        return cogprice;
    }

    public void setCogprice(BigDecimal cogprice) {
        this.cogprice = cogprice;
    }

    public BigDecimal getCyhinprice() {
        return cyhinprice;
    }

    public void setCyhinprice(BigDecimal cyhinprice) {
        this.cyhinprice = cyhinprice;
    }

    public BigDecimal getCyhsaleprice() {
        return cyhsaleprice;
    }

    public void setCyhsaleprice(BigDecimal cyhsaleprice) {
        this.cyhsaleprice = cyhsaleprice;
    }

    public String getProvidersecond() {
        return providersecond;
    }

    public void setProvidersecond(String providersecond) {
        this.providersecond = providersecond;
    }

    public Integer getLowstore() {
        return lowstore;
    }

    public void setLowstore(Integer lowstore) {
        this.lowstore = lowstore;
    }

    public Integer getHighstore() {
        return highstore;
    }

    public void setHighstore(Integer highstore) {
        this.highstore = highstore;
    }

    public String getIsservice() {
        return isservice;
    }

    public void setIsservice(String isservice) {
        this.isservice = isservice;
    }

    public String getIsbind() {
        return isbind;
    }

    public void setIsbind(String isbind) {
        this.isbind = isbind;
    }

    public String getIsspecial() {
        return isspecial;
    }

    public void setIsspecial(String isspecial) {
        this.isspecial = isspecial;
    }

    public String getBigunitcode() {
        return bigunitcode;
    }

    public void setBigunitcode(String bigunitcode) {
        this.bigunitcode = bigunitcode;
    }

    public String getBasicunitcode() {
        return basicunitcode;
    }

    public void setBasicunitcode(String basicunitcode) {
        this.basicunitcode = basicunitcode;
    }

    public Integer getInnum() {
        return innum;
    }

    public void setInnum(Integer innum) {
        this.innum = innum;
    }

    public String getProdfrom() {
        return prodfrom;
    }

    public void setProdfrom(String prodfrom) {
        this.prodfrom = prodfrom;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getRankcode() {
        return rankcode;
    }

    public void setRankcode(String rankcode) {
        this.rankcode = rankcode;
    }

    public String getSupplyprodno() {
        return supplyprodno;
    }

    public void setSupplyprodno(String supplyprodno) {
        this.supplyprodno = supplyprodno;
    }

    public String getCyhno() {
        return cyhno;
    }

    public void setCyhno(String cyhno) {
        this.cyhno = cyhno;
    }

    public String getSelfprodflg() {
        return selfprodflg;
    }

    public void setSelfprodflg(String selfprodflg) {
        this.selfprodflg = selfprodflg;
    }

    public String getStockendflg() {
        return stockendflg;
    }

    public void setStockendflg(String stockendflg) {
        this.stockendflg = stockendflg;
    }

    public String getSubsellflg() {
        return subsellflg;
    }

    public void setSubsellflg(String subsellflg) {
        this.subsellflg = subsellflg;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getUpdateman() {
        return updateman;
    }

    public void setUpdateman(String updateman) {
        this.updateman = updateman;
    }

    public Date getUpdatedate() {
        return updatedate;
    }

    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        BsProduct other = (BsProduct) that;
        return (this.getProdno() == null ? other.getProdno() == null : this.getProdno().equals(other.getProdno()))
            && (this.getProdkndno() == null ? other.getProdkndno() == null : this.getProdkndno().equals(other.getProdkndno()))
            && (this.getProdrootno() == null ? other.getProdrootno() == null : this.getProdrootno().equals(other.getProdrootno()))
            && (this.getProviderid() == null ? other.getProviderid() == null : this.getProviderid().equals(other.getProviderid()))
            && (this.getProdclassno() == null ? other.getProdclassno() == null : this.getProdclassno().equals(other.getProdclassno()))
            && (this.getProdcode() == null ? other.getProdcode() == null : this.getProdcode().equals(other.getProdcode()))
            && (this.getBarcode() == null ? other.getBarcode() == null : this.getBarcode().equals(other.getBarcode()))
            && (this.getProdname() == null ? other.getProdname() == null : this.getProdname().equals(other.getProdname()))
            && (this.getProdshort() == null ? other.getProdshort() == null : this.getProdshort().equals(other.getProdshort()))
            && (this.getProdeng() == null ? other.getProdeng() == null : this.getProdeng().equals(other.getProdeng()))
            && (this.getSizecode() == null ? other.getSizecode() == null : this.getSizecode().equals(other.getSizecode()))
            && (this.getColorcode() == null ? other.getColorcode() == null : this.getColorcode().equals(other.getColorcode()))
            && (this.getInprice() == null ? other.getInprice() == null : this.getInprice().equals(other.getInprice()))
            && (this.getSaleprice() == null ? other.getSaleprice() == null : this.getSaleprice().equals(other.getSaleprice()))
            && (this.getCogprice() == null ? other.getCogprice() == null : this.getCogprice().equals(other.getCogprice()))
            && (this.getCyhinprice() == null ? other.getCyhinprice() == null : this.getCyhinprice().equals(other.getCyhinprice()))
            && (this.getCyhsaleprice() == null ? other.getCyhsaleprice() == null : this.getCyhsaleprice().equals(other.getCyhsaleprice()))
            && (this.getProvidersecond() == null ? other.getProvidersecond() == null : this.getProvidersecond().equals(other.getProvidersecond()))
            && (this.getLowstore() == null ? other.getLowstore() == null : this.getLowstore().equals(other.getLowstore()))
            && (this.getHighstore() == null ? other.getHighstore() == null : this.getHighstore().equals(other.getHighstore()))
            && (this.getIsservice() == null ? other.getIsservice() == null : this.getIsservice().equals(other.getIsservice()))
            && (this.getIsbind() == null ? other.getIsbind() == null : this.getIsbind().equals(other.getIsbind()))
            && (this.getIsspecial() == null ? other.getIsspecial() == null : this.getIsspecial().equals(other.getIsspecial()))
            && (this.getBigunitcode() == null ? other.getBigunitcode() == null : this.getBigunitcode().equals(other.getBigunitcode()))
            && (this.getBasicunitcode() == null ? other.getBasicunitcode() == null : this.getBasicunitcode().equals(other.getBasicunitcode()))
            && (this.getInnum() == null ? other.getInnum() == null : this.getInnum().equals(other.getInnum()))
            && (this.getProdfrom() == null ? other.getProdfrom() == null : this.getProdfrom().equals(other.getProdfrom()))
            && (this.getFactory() == null ? other.getFactory() == null : this.getFactory().equals(other.getFactory()))
            && (this.getRankcode() == null ? other.getRankcode() == null : this.getRankcode().equals(other.getRankcode()))
            && (this.getSupplyprodno() == null ? other.getSupplyprodno() == null : this.getSupplyprodno().equals(other.getSupplyprodno()))
            && (this.getCyhno() == null ? other.getCyhno() == null : this.getCyhno().equals(other.getCyhno()))
            && (this.getSelfprodflg() == null ? other.getSelfprodflg() == null : this.getSelfprodflg().equals(other.getSelfprodflg()))
            && (this.getStockendflg() == null ? other.getStockendflg() == null : this.getStockendflg().equals(other.getStockendflg()))
            && (this.getSubsellflg() == null ? other.getSubsellflg() == null : this.getSubsellflg().equals(other.getSubsellflg()))
            && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
            && (this.getUpdateman() == null ? other.getUpdateman() == null : this.getUpdateman().equals(other.getUpdateman()))
            && (this.getUpdatedate() == null ? other.getUpdatedate() == null : this.getUpdatedate().equals(other.getUpdatedate()))
            && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getProdno() == null) ? 0 : getProdno().hashCode());
        result = prime * result + ((getProdkndno() == null) ? 0 : getProdkndno().hashCode());
        result = prime * result + ((getProdrootno() == null) ? 0 : getProdrootno().hashCode());
        result = prime * result + ((getProviderid() == null) ? 0 : getProviderid().hashCode());
        result = prime * result + ((getProdclassno() == null) ? 0 : getProdclassno().hashCode());
        result = prime * result + ((getProdcode() == null) ? 0 : getProdcode().hashCode());
        result = prime * result + ((getBarcode() == null) ? 0 : getBarcode().hashCode());
        result = prime * result + ((getProdname() == null) ? 0 : getProdname().hashCode());
        result = prime * result + ((getProdshort() == null) ? 0 : getProdshort().hashCode());
        result = prime * result + ((getProdeng() == null) ? 0 : getProdeng().hashCode());
        result = prime * result + ((getSizecode() == null) ? 0 : getSizecode().hashCode());
        result = prime * result + ((getColorcode() == null) ? 0 : getColorcode().hashCode());
        result = prime * result + ((getInprice() == null) ? 0 : getInprice().hashCode());
        result = prime * result + ((getSaleprice() == null) ? 0 : getSaleprice().hashCode());
        result = prime * result + ((getCogprice() == null) ? 0 : getCogprice().hashCode());
        result = prime * result + ((getCyhinprice() == null) ? 0 : getCyhinprice().hashCode());
        result = prime * result + ((getCyhsaleprice() == null) ? 0 : getCyhsaleprice().hashCode());
        result = prime * result + ((getProvidersecond() == null) ? 0 : getProvidersecond().hashCode());
        result = prime * result + ((getLowstore() == null) ? 0 : getLowstore().hashCode());
        result = prime * result + ((getHighstore() == null) ? 0 : getHighstore().hashCode());
        result = prime * result + ((getIsservice() == null) ? 0 : getIsservice().hashCode());
        result = prime * result + ((getIsbind() == null) ? 0 : getIsbind().hashCode());
        result = prime * result + ((getIsspecial() == null) ? 0 : getIsspecial().hashCode());
        result = prime * result + ((getBigunitcode() == null) ? 0 : getBigunitcode().hashCode());
        result = prime * result + ((getBasicunitcode() == null) ? 0 : getBasicunitcode().hashCode());
        result = prime * result + ((getInnum() == null) ? 0 : getInnum().hashCode());
        result = prime * result + ((getProdfrom() == null) ? 0 : getProdfrom().hashCode());
        result = prime * result + ((getFactory() == null) ? 0 : getFactory().hashCode());
        result = prime * result + ((getRankcode() == null) ? 0 : getRankcode().hashCode());
        result = prime * result + ((getSupplyprodno() == null) ? 0 : getSupplyprodno().hashCode());
        result = prime * result + ((getCyhno() == null) ? 0 : getCyhno().hashCode());
        result = prime * result + ((getSelfprodflg() == null) ? 0 : getSelfprodflg().hashCode());
        result = prime * result + ((getStockendflg() == null) ? 0 : getStockendflg().hashCode());
        result = prime * result + ((getSubsellflg() == null) ? 0 : getSubsellflg().hashCode());
        result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
        result = prime * result + ((getUpdateman() == null) ? 0 : getUpdateman().hashCode());
        result = prime * result + ((getUpdatedate() == null) ? 0 : getUpdatedate().hashCode());
        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", prodno=").append(prodno);
        sb.append(", prodkndno=").append(prodkndno);
        sb.append(", prodrootno=").append(prodrootno);
        sb.append(", providerid=").append(providerid);
        sb.append(", prodclassno=").append(prodclassno);
        sb.append(", prodcode=").append(prodcode);
        sb.append(", barcode=").append(barcode);
        sb.append(", prodname=").append(prodname);
        sb.append(", prodshort=").append(prodshort);
        sb.append(", prodeng=").append(prodeng);
        sb.append(", sizecode=").append(sizecode);
        sb.append(", colorcode=").append(colorcode);
        sb.append(", inprice=").append(inprice);
        sb.append(", saleprice=").append(saleprice);
        sb.append(", cogprice=").append(cogprice);
        sb.append(", cyhinprice=").append(cyhinprice);
        sb.append(", cyhsaleprice=").append(cyhsaleprice);
        sb.append(", providersecond=").append(providersecond);
        sb.append(", lowstore=").append(lowstore);
        sb.append(", highstore=").append(highstore);
        sb.append(", isservice=").append(isservice);
        sb.append(", isbind=").append(isbind);
        sb.append(", isspecial=").append(isspecial);
        sb.append(", bigunitcode=").append(bigunitcode);
        sb.append(", basicunitcode=").append(basicunitcode);
        sb.append(", innum=").append(innum);
        sb.append(", prodfrom=").append(prodfrom);
        sb.append(", factory=").append(factory);
        sb.append(", rankcode=").append(rankcode);
        sb.append(", supplyprodno=").append(supplyprodno);
        sb.append(", cyhno=").append(cyhno);
        sb.append(", selfprodflg=").append(selfprodflg);
        sb.append(", stockendflg=").append(stockendflg);
        sb.append(", subsellflg=").append(subsellflg);
        sb.append(", remark=").append(remark);
        sb.append(", updateman=").append(updateman);
        sb.append(", updatedate=").append(updatedate);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}